﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using System.ComponentModel.Composition;

namespace Dynamic_UI_Framework
{
    [Export("MButton", typeof(IElement))]
    [PartCreationPolicy(CreationPolicy.NonShared)]
    public class MButton : Button, IElement
    {

        public System.Windows.FrameworkElement Target
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public IVisual Owner
        {
            get;
            set;
        }

        public void Activate(IVisual v)
        {
            if (Owner != null)
                Owner.Activate(this);

        }

        public List<MenuItem> GetMenuItem()
        {
            throw new NotImplementedException();
        }
    }
}
